package com.xqt.controller;

import com.xqt.entity.sys.SysMember;
import com.xqt.service.sys.SysMemberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by Administrator on 2017/3/17.
 */
@RestController
@RequestMapping(value = "/sys/member")
public class SysMemberController {

    @Autowired
    SysMemberService sysMemberService;

    @RequestMapping(value = "query")
    public SysMember queryName(){
        return  sysMemberService.queryByName("huage0099");
    }
}
